package com.jeesite.modules.task.oa.dto;

import lombok.Data;

/**
 * @author: xiaodong
 * @create: 2024-01-04
 * @Description:
 */
@Data
public class JZResultDTO {

    private boolean success;

    private String data;

    private String msg;

    private String errCode;

    private String type;

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"success\":")
                .append(success);
        sb.append(",\"data\":\"")
                .append(data).append('\"');
        sb.append(",\"msg\":\"")
                .append(msg).append('\"');
        sb.append(",\"errCode\":\"")
                .append(errCode).append('\"');
        sb.append(",\"type\":\"")
                .append(type).append('\"');
        sb.append('}');
        return sb.toString();
    }
}
